package com.hebeiboruan.testsystem.common.exception.example;

import com.hebeiboruan.common.exception.CommonResultEnum;
public enum ExampleResultEnum implements CommonResultEnum{
    NULL("200","占位"),
    RESULT_TRUE("200","测试通过"),
    RESULT_ERROR("500","测试失败");
    private String result;
    private String errorCode;

    public String getErrorCode() {
    return errorCode;
    }

    public void setErrorCode(String errorCode) {
    this.errorCode = errorCode;
    }

    ExampleResultEnum(String errorCode,String result) {
    this.errorCode = errorCode;
    this.result = result;
    }

    public String getResult() {
    return result;
    }

    public void setResult(String result) {
    this.result = result;
    }
}
